翻訳と辞書
Words near each other
・ Multiplication (music)
・ Multiplication algorithm
・ Multiplication and repeated addition
・ Multiplication factor
・ Multiplication of vectors
・ Multiplication operator
・ Multiplication sign
・ Multiplication table
・ Multiplication theorem
・ Multiplicative
・ Multiplicative calculus
・ Multiplicative cascade
・ Multiple frequency-shift keying
・ Multiple fruit
・ Multiple gamma function
Multiple granularity locking
・ Multiple gunshot suicide
・ Multiple hamartoma syndrome
・ Multiple hearth furnace
・ Multiple histories
・ Multiple homing
・ Multiple Independent Levels of Security
・ Multiple independently targetable reentry vehicle
・ Multiple Indicator Cluster Surveys
・ Multiple inert gas elimination technique
・ Multiple inheritance
・ Multiple inositol-polyphosphate phosphatase
・ Multiple integral
・ Multiple Integrated Laser Engagement System
・ Multiple isomorphous replacement


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Multiple granularity locking : ウィキペディア英語版
Multiple granularity locking

In computer science, multiple granularity locking (MGL) is a locking method used in database management systems (DBMS) and relational databases.
In MGL, locks are set on objects that contain other objects. MGL exploits the hierarchical nature of the ''contains'' relationship. For example, a database may have files, which contain pages, which further contain records. This can be thought of as a tree of objects, where each node contains its children. A lock on such as a shared or exclusive lock locks the targeted node as well as all of its descendants.
Multiple granularity locking is usually used with non-strict two-phase locking to guarantee serializability.
==Lock Modes==
In addition to shared (S) locks and exclusive (X) locks from other locking schemes, like strict two-phase locking, MGL also uses ''intention shared'' and ''intention exclusive'' locks. IS locks conflict with X locks, while IX locks conflict with S and X locks. The null lock (NL) is compatible with everything.
To lock a node in S (or X), MGL has the transaction lock on all of its ancestors with IS (or IX), so if a transaction locks a node in S (or X), no other transaction can access its ancestors in X (or S and X). This protocol is shown in the following table:
Determining what level of granularity to use for locking is done by locking the finest level possible (at the lowest leaf level), and then escalating these locks to higher levels in the file hierarchy to cover more records or file elements as needed. This process is known as Lock Escalation.
MGL locking modes are compatible with each other as defined in the following matrix.
Following the locking protocol and the compatibility matrix, if one transaction holds a node in S mode, no other transactions can have locked any ancestor in X mode.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Multiple granularity locking」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.